package cn.bestick.util;

import java.io.PrintWriter;

import javax.servlet.http.HttpServletResponse;

/**
 * @author Bestick
 *
 * be stick...
 *
 * 2015年8月30日 下午8:53:28
 */
public class ResponseUtil {

	public static void write(Object o,HttpServletResponse response) throws Exception{
		response.setContentType("text/html;charset=utf-8");
		PrintWriter out = response.getWriter();
		out.print(o.toString());
		out.flush();
		out.close();
	}
}
